

<table width="100%" border="0">
    <tr>
        <td colspan="2"><h2>Agendas</h2></td>
    </tr>
<!--    <tr>
        <td width="23%">
            &nbsp;
        </td>
        <td width="77%">
            &nbsp;
        </td>
    </tr>-->
    <tr>
        <td width="23%" style="vertical-align:top; border-right:1px #333 dotted; padding-left: 5px; padding-right: 10px;">












            <table width="100%" border="0" style=" background: #CCC;">
                <tr>
                    <td colspan="2">Calendrier <br/><hr/><b>
                            Mes Calendriers</b><br/></td>
                </tr>


                <?php
                if (isset($this->formAgenda2)) {
                    $listagendas = $this->formAgenda2;
                    foreach ($listagendas as $listagenda) {
                        echo'<tr><td width="60%">';
                        echo '&raquo; ' . $listagenda['intitule'];
                        echo '</td>';
                        echo'<td width="40%">';
                        echo '[Modifier]';
                        echo '</td></tr>';
                    }
                }
                ?>


                <tr>
                    <td width="60%">&nbsp;</td>
                    <td width="40%">&nbsp;</td>
                </tr>
                <tr>
                    <td colspan="2">
                        <a href="<?php
                echo $this->url(
                        array(
                    'controller' => 'agenda',
                    'action' => 'add'
                        ), 'default', true)
                ?>">[Nouveau calendrier]</a>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <?php
                        if (isset($this->formAgenda)) {
                            if (isset($_GET['sl'])) {
                                echo $this->formAgenda;
                            }
                        }
                        ?>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">&nbsp;</td>
                </tr>
            </table>

        </td>
        <td width="77%" height="1100">
            <div id="scheduler_here" class="dhx_cal_container" style='width:100%; height:100%;'>
                <div class="dhx_cal_navline">
                    <div class="dhx_cal_prev_button">&nbsp;</div>
                    <div class="dhx_cal_next_button">&nbsp;</div>
                    <div class="dhx_cal_today_button"></div>
                    <div class="dhx_cal_date"></div>
                    <div class="dhx_cal_tab" name="day_tab" style="right:204px;"></div>
                    <div class="dhx_cal_tab" name="week_tab" style="right:140px;"></div>
                    <div class="dhx_cal_tab" name="month_tab" style="right:76px;"></div>
                </div>
                <div class="dhx_cal_header">
                </div>
                <div class="dhx_cal_data">
                </div>
            </div>
        </td>


    </tr>

</table>